import java.io.File;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
import java.util.Vector;

public interface IConfiguration 
{
	public enum PROTOCOLS
	{
		TCP,UDP,HTTP,IP;
	};
	
	public Enumeration<NetworkInterface> getDevList() throws SocketException;
	public void loadSettingsFromFile(File filename);
	public void saveSettingsToFile(Configuration config,File filename);
	//setters
	public void setProtocolFilter(int[] pFilter);
	public void setIpFilter(String ipFilter);
	public void setDevice(String device);
	//getters
	public String getDevice();
	public int[] getProtocolFilter();
	public Vector<String> getIpFilter();

}
